package mybatis.pojo;

import java.util.List;

public class Person {
    private int id;
    private String name;
    private int age;
    private String sex;
    private IdCard idCard;
    private List<Orders> list4Orders;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public IdCard getIdCard() {
        return idCard;
    }

    public void setIdCard(IdCard idCard) {
        this.idCard = idCard;
    }

    public List<Orders> getList4Orders() {
        return list4Orders;
    }

    public void setList4Orders(List<Orders> list4Orders) {
        this.list4Orders = list4Orders;
    }
}
